package org.NooLab.docserver.main;

import org.NooLab.docserver.component.WatchedFile;



public class WaitingItem extends WatchedFile{

	private static final long serialVersionUID = 2727913978859488959L;

	long registerTime = 0L ; 
	private int printFlag=0 ;
	
	
	// ========================================================================
	public WaitingItem(){
		super();
		registerTime = System.currentTimeMillis() ;
	}

	public WaitingItem(WatchedFile wf) {
		super(wf);
		registerTime = System.currentTimeMillis() ;
	}
	// ========================================================================	


	public long getRegisterTime() {
		return registerTime;
	}


	public void setRegisterTime(long registerTime) {
		this.registerTime = registerTime;
	}
	
	public WatchedFile getAsWatchedFile(){
		return wFinstance;
	}

	public int getPrintFlag() {
		
		return printFlag;
	}

	public void incPrintFlag(int i) {
		
		printFlag = printFlag + i;
	}
	
}
